package org.linuxsogood.boot.service;

import org.linuxsogood.boot.aop.AdminOnly;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author honway.liu
 * @date 2017/8/28 下午9:45
 * @email gm100861@gmail.com
 * @blog http://linuxsogood.org
 */
@Service
public class PersonService {

    @AdminOnly
    @Transactional
    public void insertOne() {
        System.out.println("person service insert method is execute.");
    }
}
